package org.dromara.admin.domain.bo;

import org.dromara.admin.domain.SystemConfig;
import org.dromara.admin.enums.GeneralEnum;
import org.dromara.common.mybatis.core.domain.BaseEntity;
import org.dromara.common.core.validate.AddGroup;
import org.dromara.common.core.validate.EditGroup;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;
import lombok.EqualsAndHashCode;
import jakarta.validation.constraints.*;

/**
 * 系统配置业务对象 bi_system_config
 *
 * @author Lion Li
 * @date 2025-10-10
 */
@Data
@EqualsAndHashCode(callSuper = true)
@AutoMapper(target = SystemConfig.class, reverseConvertGenerate = false)
public class SystemConfigBo extends BaseEntity {

    /**
     * 配置唯一ID
     */
    private Long id;

    /**
     * 关联主体ID（每个主体1条配置，关联bi_company.id）
     */
    private Long companyId;

    /**
     * 库存统计：Y-开，N-关
     */
    private GeneralEnum stockStat;

    /**
     * 一客一价：Y-开，N-关
     */
    private GeneralEnum customerPrice;

    /**
     * 结算模式：Y-开，N-关
     */
    private GeneralEnum settleMode;

    /**
     * 标签模式：Y-开，N-关（企业版）
     */
    private GeneralEnum tagMode;

    /**
     * 物流模式：Y-开，N-关
     */
    private GeneralEnum logisticsMode;

    /**
     * 财务模式：Y-开，N-关
     */
    private GeneralEnum financeMode;

    /**
     * 多地址模式：Y-开，N-关
     */
    private GeneralEnum multiAddress;

    /**
     * 二级分类：Y-开，N-关
     */
    private GeneralEnum twoLevelCategory;


}
